﻿using BW.WMS.WareHouseAllot;
using BW.WMS.WareHouseManage;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BW.WMS.WareHouseStatistics.StockManagement
{
    public class CreateUpdateStockManagementDto
    {
        /// <summary>
        /// 入库单号-----------------
        /// </summary>
        public string? Stockcode { get; set; }

        /// <summary>
        /// 入库类型-----------------
        /// </summary>
        public string? Stocktype { get; set; }

        /// <summary>
        /// 关联单号(关联进货单号) -----------------
        /// </summary>
        public string? Associated { get; set; }

        /// <summary>
        /// 仓库名称(关联仓库表) -----------------
        /// </summary>
        public Guid? Warehouseid { get; set; }

        /// <summary>
        /// 入库日期 -----------------
        /// </summary>
        public DateTime Stocktime { get; set; }

        /// <summary>
        /// 经办人 -----------------
        /// </summary>
        public string? Agent { get; set; }

        /// <summary>
        /// 联系方式 -----------------
        /// </summary>
        public string? Phone { get; set; }

        /// <summary>
        /// 详细描述----------------------------------------------------------------------
        /// </summary>
        public string? Stockdesc { get; set; }

        /// <summary>
        /// 状态????????????????????????
        /// </summary>
        public string? Stockstate { get; set; }

        /// <summary>
        /// 审核原因 ?????????????????????
        /// </summary>
        public string? Statedesc { get; set; }

        /// <summary>
        /// 制单人???????????????????????  (关联到登录人)
        /// </summary>
        public string? Creator { get; set; }

        /// <summary>
        /// 入库货品（关联货品表）
        /// </summary>
        public Guid? GoodsId { get; set; }

        /// <summary>
        /// 货品编号
        /// </summary>
        public string? Goodscode { get; set; }

        /// <summary>
        /// 货品类型
        /// </summary>
        public string? Goodstype { get; set; }

        /// <summary>
        /// 规格型号
        /// </summary>
        public string? Version { get; set; }

        /// <summary>
        /// 单位
        /// </summary>
        public string? Unit { get; set; }

        /// <summary>
        /// 当前库存
        /// </summary>
        public int? Newnumber { get; set; }

        /// <summary>
        /// 调拨数量
        /// </summary>
        public int? Allocationnumber { get; set; }

        /// <summary>
        /// 入库数量
        /// </summary>
        public int? Stocknumber { get; set; }

        /// <summary>
        /// 未入库数量
        /// </summary>
        public int? Nostocknumber { get; set; }

        /// <summary>
        /// 入库金额
        /// </summary>
        public decimal? Stockmoney { get; set; }

        /// <summary>
        /// 上传附件 -----------------
        /// </summary>
        public string? Uploadattachment { get; set; }

        /// <summary>
        /// 供应商-----------------
        /// </summary>
        public string? Test1 { get; set;}

        /// <summary>
        /// 联系人  -----------------
        /// </summary>
        public string? Test2 { get; set;}

        /// <summary>
        /// 删除标识 -----------------
        /// false: 未删除 true: 已删除
        /// </summary>
        public bool IsDeleted { get; set; } = false;
    }
}
